// 引入mockjs模块
import Mock from 'mockjs'
// 把JSON数据格式引进来
// webpack默认对外暴露：图片、JSON数据格式
import banner from './banners.json'
import floor from './floors.json'

// mock数据:1.参数请求地址 2.请求数据
Mock.mock("/mock/banner",{code:200,data:banner});
Mock.mock("/mock/floor",{code:200,data:floor});